#ifndef __DYNAMICARRAY_H__
#define __DYNAMICARRAY_H__

#define ELementType void*
typedef struct DynamicArray
{

    ELementType *dp;
    int Size;
    int len;

}DmArr;


extern int InitArray(DmArr* arr);
extern void FreeArray(DmArr* arr);
extern int InsertArray(DmArr* arr,ELementType element);
extern void Travel(DmArr* arr);
extern int DeleteArray(DmArr* arr,int index);
extern int FindArray(DmArr* arr,int num);
#endif